import request from '@/utils/request';
//  添加流域修改
///base/basin/add
export const basinAdd = (data) => 
  request({
    url: `/base/basin/add`,
    method: 'post',
    data,
  })
export const basinEdit = (data) => 
  request({
    url: `/base/basin/edit`,
    method: 'post',
    data,
  })


  ///base/basin/remove/{ids}

  export const basinRemove = (ids) => 
  request({
    url: `/base/basin/remove/${ids}`,
    method: 'get',
  })
  
// /base/basin/list
export const basinList = () => 
  request({
    url: `/base/basin/list`,
    method: 'get',
    params: {pageNum: 1, pageSize: 999999999}
  })